package com.example.demo.information.service;

import com.example.demo.information.entity.Historyphoto;
import com.example.demo.information.entity.Student;
import com.example.demo.information.entity.info.StudentInfo;

public interface HistoryPhotoService {

    String saveTempPhotoByStudent(Student student, String spId, String bkColor
            , String originalPath, String resultSavePath, String internetPath, String xgr,String xgsj);

    String saveTempPhotoByStudentInfo(StudentInfo studentInfo, String spId, String bkColor
            , String originalPath, String resultSavePath, String internetPath, String xgr, String xgsj);

    Historyphoto findByXsxxIdAndXxxxIdAndBjxxId(Long xsxxId, Long xxxxId, Long bjxxId);

    Historyphoto findById(Long photoId);

    String updateTempPhotoByResultInfo(Historyphoto tempPhoto, String spId, String bkColor
            , String resultSaveObjectName, String internetPath, String xgr, String xgsj);
}
